/*
 * @Author: Seon.Hu SeonHu@126.com
 * @Date: 2022-05-10 11:41:57
 * @LastEditors: Seon.Hu SeonHu@126.com
 * @LastEditTime: 2023-11-20 12:39:50
 * @FilePath: \bg-vben\src\router\routes\modules\about.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import type { AppRouteModule } from '@/router/types';

import { LAYOUT } from '@/router/constant';
import { t } from '@/hooks/web/useI18n';

const about: AppRouteModule = {
  path: '/about',
  name: 'About',
  component: LAYOUT,
  redirect: '/about/index',
  meta: {
    hideChildrenInMenu: true,
    icon: 'raphael:help',
    title: t('routes.dashboard.about.title'),
    orderNo: 999999999,
  },
  children: [
    {
      path: 'index',
      name: 'AboutPage',
      component: () => import('@/views/sys/about/index.vue'),
      meta: {
        title: t('routes.dashboard.about.title'),
        icon: 'simple-icons:about-dot-me',
        hideMenu: true,
      },
    },
  ],
};

export default about;
